﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Entities;
using WCF_ListenMusic.DataContract;
namespace WCF_ListenMusic.Services
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISongService" in both code and config file together.
    [ServiceContract]
    public interface ISongService
    {
        [OperationContract]
        DataContract_Song getSongByID(int SongID);
        [OperationContract]
        List<Song> getSongByAlbumID(int AlbumID);
        [OperationContract]
        List<Song> getSongByType(int TypeID);
        [OperationContract]
        List<DataContract_Song> getTopSong(int number, int type);
        [OperationContract]
        List<DataContract_Song> getnewSong_Singer(int number);
        [OperationContract]
        List<Song> getAllSong();
        [OperationContract]
        List<Song> getSongBySingerName(string singerName);
    }   
}
